package com.example.zzm.yuejian03.Activity;



import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import com.example.zzm.yuejian03.R;

public class ShezhiActivity extends AppCompatActivity {

    private Button button19,button20,button21;
    private TextView textView11;

    public void  onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.my_shezhi);
        initView();
        initEvent();
        initDate();
    }

    private void initDate() {

    }

    private void initEvent() {
        textView11.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        button19.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ShezhiActivity.this,updatePassActivity.class);
                startActivity(intent);
            }
        });
        button20.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(ShezhiActivity.this,xiugaitouxActivity.class);
                startActivity(intent);
            }
        });
        button21.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ShezhiActivity.this,updetanameActivity.class);
                startActivity(intent);
            }
        });
    }

    private void initView() {
        textView11 = (TextView)findViewById(R.id.textView11);
        button19 = (Button)findViewById(R.id.button19);
        button20 = (Button)findViewById(R.id.button20);
        button21 = (Button)findViewById(R.id.button21);
    }
}
